//
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

doctype html
html(lang='en')
  head
    meta(charset='utf-8')
    meta(http-equiv='X-UA-Compatible', content='IE=edge')
    meta(name='viewport', content='width=device-width, initial-scale=1')

    title Apache Flink Web Dashboard

    link(rel="apple-touch-icon", sizes="180x180", href="images/apple-touch-icon.png")
    link(rel="icon", type="image/png", href="images/favicon-32x32.png", sizes="32x32")
    link(rel="icon", type="image/png", href="images/favicon-16x16.png", sizes="16x16")
    link(rel="manifest", href="images/manifest.json")
    link(rel="mask-icon", href="images/safari-pinned-tab.svg", color="#aa1919")
    link(rel="shortcut icon", href="images/favicon.ico")
    meta(name="msapplication-config", content="images/browserconfig.xml")
    meta(name="theme-color", content="#ffffff")

    link(rel='stylesheet', href='css/vendor.css', type='text/css')
    link(rel='stylesheet', href='css/index.css', type='text/css')

    script(src="js/vendor.js")
    script(src="js/index.js")

  body(ng-app="flinkApp" ng-strict-di)
    #sidebar(ng-class="{ 'sidebar-visible': sidebarVisible }")
      nav.navbar.navbar-inverse.navbar-static-top
        .navbar-header
          a.navbar-brand(ui-sref="overview")
            img.logo(alt="Apache Flink Dashboard" src="images/flink-logo.png")
          a.navbar-brand.navbar-brand-text(ui-sref="overview")
            | Apache Flink Dashboard

      .navbar.navbar-sidebar
        ul.nav
          li
            a(ui-sref="overview" ui-sref-active='active')
              i.fa.fa-dashboard.fa-fw
              | 
              | Overview
          li
            a(ui-sref="running-jobs" ui-sref-active='active')
              i.fa.fa-tasks.fa-fw
              | 
              | Running Jobs
          li
            a(ui-sref="completed-jobs" ui-sref-active='active')
              i.fa.fa-check-circle.fa-fw
              | 
              | Completed Jobs
          li
            a(ui-sref="all-manager" ui-sref-active='active')
              i.fa.fa-sitemap.fa-fw
              | 
              | Task Managers
          li
            a(ui-sref="jobmanager.config" ui-sref-active='active')
              i.fa.fa-server.fa-fw
              | 
              | Job Manager
          li
            a(ui-sref="submit" ui-sref-active='active')
              i.fa.fa-upload.fa-fw
              | 
              | Submit new Job

    #content(ng-class="{ 'sidebar-visible': sidebarVisible }")
      #main(ui-view='main')
